package design.simdi.code.final_paper.site.panels;

import java.io.Serializable;

/**
 * 
 * @author Marius Dumitriu - (Jun 5, 2010 - 9:06:41 PM)
 * 
 */
public class MenuEntry implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String name;
	@SuppressWarnings("unchecked")
	private Class panelClass;

	@SuppressWarnings("unchecked")
	public MenuEntry(String name, Class panelClass) {
		this.name = name;
		this.panelClass = panelClass;
	}

	/**
	 * @return the panelClass
	 */
	@SuppressWarnings("unchecked")
	public Class getPanelClass() {
		return panelClass;
	}

	/**
	 * @param panelClass
	 *            the panelClass to set
	 */
	@SuppressWarnings("unchecked")
	public void setPanelClass(Class panelClass) {
		this.panelClass = panelClass;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

}
